package String;

public class StringTrim {
    public static void main(String[] args) {
        /*
        去掉字符前后的空白
        空白字符:空格   换行  回车   等编码小于等于32的字符
         */
        String name = "               yilou                    ";
        System.out.println(name);
        String s = name.trim();
        System.out.println(s);



    }
}
